<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
</body>
<script>
    //navigator
    const ua = navigator.userAgent
    const isChrome = ua.indexOf('Chrome')
    console.log(isChrome)

    //screen
    console.log(screen.width)
    console.log(screen.height)

    //location
    console.log(location.href)
    console.log(location.protocol)  //"https:"
    console.log(location.pathname)
    console.log(location.search)
    console.log(location.hash)

    //history
    history.back()
    history.forward()
</script>
</html>
